import React, { FC, useState } from 'react'
import noDataUrl from '@/assets/images/noData.png'
import Header from '@/components/home/header'
import { useNavigate } from 'react-router-dom'
const welfare: FC<{}> = () => {
  const navigate = useNavigate()
  return (
    <div className="w-full h-full  bg-white ">
      <Header
        cb={() => {
          navigate(-1)
        }}
        headerText={'确认订单'}
      ></Header>
      <div className="relative h-r33.0">
        {' '}
        <img
          alt=""
          className=" relative transform top-r14.0 left-1/2  -translate-x-1/2 w-r26.0 h-auto  "
          src={noDataUrl}
        ></img>
      </div>

      <div className=" text-center text-r1.4 text-gray-858c96 m-r1.0 relative z-10">
        一个地址也没有快去添加收货地址吧
      </div>
      <div className=" h-auto text-center">
        <span
          className=" inline-block border  text-r1.4 border-r-orange-600 text-orange-f13232 w-r10.0 h-r3.0 leading-r3.0"
          onClick={() => {
            navigate('/addAddress')
          }}
        >
          添加收货地址
        </span>
      </div>
    </div>
  )
}

export default welfare
